package com.xuecheng.teaching.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("work_record")
public class WorkRecord {
    
    @TableId(type = IdType.AUTO)
    private Long workRecordId;
    
    /**
     * 作业ID
     */
    private Long workId;
    
    /**
     * 课程发布ID
     */
    private Long coursePubId;
    
    /**
     * 课程计划ID
     */
    private Long teachplanId;
    
    /**
     * 提交人
     */
    private String username;
    
    /**
     * 作业答案
     */
    private String answer;
    
    /**
     * 教师评语
     */
    private String correctComment;
    
    /**
     * 状态:306001-待批阅,306002-已批阅
     */
    private String status;
    
    /**
     * 提交时间
     */
    private LocalDateTime createDate;
    
    /**
     * 批改时间
     */
    private LocalDateTime correctionDate;
    private  int score;
}